Skip to main content
Version: 8.6.10.4

SpreadOpenMark

V8 Message Definiton

SpreadOpenMark records are created during the end-of-day rotation for each ticker and intended for use the following trading day. BaseObj:Spread

METADATA​

AttributeValue
Topic3120-market-marks
MLink TokenInternal
ProductSRAnalytics
accessTypeSELECT
MLink EndpointMLink-Live

Table Definition​

FieldTypeKeyDefault ValueComment
spreadID_ctenum - ContentKeyTypePRI'None'the content key SPREADCONTENTKEYmd SpreadId tag 15 bytes of the legset hash
spreadID_idVARCHAR(37)PRI''the content key SPREADCONTENTKEYmd SpreadId tag 15 bytes of the legset hash
srClsPrcDOUBLE0SR close mark close 1min from previous day
closePrcDOUBLE0official exchange closing mark from previous day
bidPrcDOUBLE0bid price SR mark from previous day
askPrcDOUBLE0ask price SR mark from previous day
timestampDATETIME(6)'1900-01-01 00:00:00.000000'
ticker_atenum - AssetType'None'the complex the legs share the first canonical legs for a crosscomplex spread
ticker_tsenum - TickerSrc'None'the complex the legs share the first canonical legs for a crosscomplex spread
ticker_tkVARCHAR(12)''the complex the legs share the first canonical legs for a crosscomplex spread
scopeFlagsVARCHAR(255)'None'what the leg set spans MultiTicker crosscomplex

PRIMARY KEY DEFINITION (Unique)​

FieldSequence
spreadID_ct1
spreadID_id2

SELECT TABLE EXAMPLE QUERY​

SELECT *
FROM `SRAnalytics`.`MsgSpreadOpenMark`
WHERE
/* Replace with a ENUM('None','SpreadId','ContractType','Calendar') */
`spreadID_ct` = 'NONE'
AND
/* Replace with a VARCHAR(37) */
`spreadID_id` = 'Example_spreadID_id';

Doc Columns Query​

SELECT * FROM SRAnalytics.doccolumns WHERE TABLE_NAME='SpreadOpenMark' ORDER BY ordinal_position ASC;